package com.alibaba.travel.article.dto;

import com.alibaba.travel.article.entity.ArticleTagEntity;
import com.alibaba.travel.article.entity.SpecialColumnEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/02/27/17:13
 * @Description:
 */
@ApiModel(description = "文章添加请求实体")
@Data
public class ArticleAddRequest {
    @ApiModelProperty(value = "文章标题", name = "title")
    private String title;

/*    // TODO 发布人信息 不需要传
    @ApiModelProperty(value = "文章发布人id", name = "userId", required = false)
    private Long userId;*/

    @ApiModelProperty(value = "文章发布人", required = false)
    private String userName;

    @ApiModelProperty(value = "发布人头像", required = false)
    private String avatar;

    @ApiModelProperty(value = "书籍封面照片", name = "coverImage")
    private String coverImage;

    @ApiModelProperty(value = "文章状态（0代表public 1代表private）", name = "showStatus", required = true)
    private String showStatus = "0";

    @ApiModelProperty(value = "完整的文章内容", required = true)
    private String content;

    @ApiModelProperty(value = "标签Id", required = true)
    private Long[] tagIds;

    @ApiModelProperty(value = "专栏id", required = true)
    private Long[] columnIds;
}
